package games.mapacman.server;

import marauroa.common.Log4J;
import marauroa.common.game.RPObject;
import marauroa.server.game.db.DatabaseFactory;
import marauroa.server.game.rp.IRPRuleProcessor;

public class MaPacmancreateaccount {
	public static void main(String[] args) {
		Log4J.init();
		new DatabaseFactory().initializeDatabase();

		IRPRuleProcessor rule = MaPacmanRPRuleProcessor.get();
                String user, pass, email;
                for (int i = 1; i<=1000;i++){
                    user = "test"+i;
                    pass = "test"+i;
                    email = "test"+i+"@mail.com";
                    System.out.println(rule.createAccount(user, pass,
				email));
                    System.out.println(rule.createCharacter(user, new String("char"+i),
				new RPObject()));
                }
		

                
	}
}